package cn.cnsy123.blog.application.http.response;

import java.util.Date;

public class ArticleResponse {

    /**
     * 文章标题
     */
    private String articleTitle;

    /**
     * 文章发布时间
     */
    private Date releaseTime;

    /**
     * 文章阅读数
     */
    private Long readNumber;

    /**
     * 文章点赞数
     */
    private Long appreciateNumber;

    /**
     * 文章标签
     */
    private String label;

    /**
     * 文章分类
     */
    private String classification;

    /**
     * 文章原地址
     */
    private String sourceAddr;

    /**
     * 文章类型
     */
    private Short articleType;

    /**
     * 文章内容
     */
    private String articleContent;

    /**
     * 文章置顶
     */
    private Short topFlag;

    public ArticleResponse() {
    }

    public ArticleResponse(String articleTitle, Date releaseTime, Long readNumber, Long appreciateNumber, String label, String classification, String sourceAddr, Short articleType, String articleContent, Short topFlag) {
        this.articleTitle = articleTitle;
        this.releaseTime = releaseTime;
        this.readNumber = readNumber;
        this.appreciateNumber = appreciateNumber;
        this.label = label;
        this.classification = classification;
        this.sourceAddr = sourceAddr;
        this.articleType = articleType;
        this.articleContent = articleContent;
        this.topFlag = topFlag;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public Long getReadNumber() {
        return readNumber;
    }

    public void setReadNumber(Long readNumber) {
        this.readNumber = readNumber;
    }

    public Long getAppreciateNumber() {
        return appreciateNumber;
    }

    public void setAppreciateNumber(Long appreciateNumber) {
        this.appreciateNumber = appreciateNumber;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public String getSourceAddr() {
        return sourceAddr;
    }

    public void setSourceAddr(String sourceAddr) {
        this.sourceAddr = sourceAddr;
    }

    public Short getArticleType() {
        return articleType;
    }

    public void setArticleType(Short articleType) {
        this.articleType = articleType;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public Short getTopFlag() {
        return topFlag;
    }

    public void setTopFlag(Short topFlag) {
        this.topFlag = topFlag;
    }
}
